<? require_once ('library/banks/FileData.php'); ?>

<div id="title-block">
	<br>&nbsp;

	<div id="productsandservices" class="yuimenubar">
		<div class="bd">
			<ul class="first-of-type">
				<li class="yuimenubaritem first-of-type"><a href="/new/">Home</a></li>
				<li class="yuimenubaritem"><a href="/new/?type=category&page=-1">Categories</a>
					<div id="shopping" class="yuimenu">
						<div class="bd">                    
							<ul>

<? 
	$recent = noter_querty('subjects', 'ORDER BY id');
	foreach($recent as $c)
	{
		echo '<li class="yuimenuitem"><a href="/new/?type=category&page='.$c['id'].'">'.$c['name'].'</a></li>';
	}
?>
							</ul>
						</div>
					</div>                    
				</li>
				<li class="yuimenubaritem"><a href="/new/?type=category&page=-2">Recent</a>
					<div id="entertainment" class="yuimenu">
						<div class="bd">                    
							<ul>
<? 
	$recent=GetFileDataByCategory(-2);
	foreach($recent as $file)
	{
		echo '<li class="yuimenuitem"><a href="/new/?type=file&page='.$file['id'].'">'.$file['title'].'</a></li>';
	}
?>
							</ul>                    
						</div>
					</div>                
				</li>
				<li class="yuimenubaritem">Manage
					<div id="information" class="yuimenu">
						<div class="bd">                
							<ul>
								<li class="yuimenuitem"><a href="/new/?type=upload">Upload Notes</a></li>
								<li class="yuimenuitem"><a href="/new/?type=update">Profile</a></li>
						<!--		<li class="yuimenuitem"><a href="/new/?type=contact">Contact Admin</a></li> -->
								<li class="yuimenuitem"><a href="/new/?type=logout">Logout</a></li>
							</ul>                    
						</div>
					</div>                
				</li>
			</ul>            
		</div>
	</div>

